package com.lhn.spring5.service;

import com.lhn.spring5.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

/**
 * 〈一句话功能简述>
 * 〈user 业务层〉
 *
 * @Author 17505
 * @Create 2021/12/27
 * @Since 1.0.0
 */
@Service
public class UserService {

    @Autowired
    @Qualifier("UserDaoImpl")
    private UserDao userDao;

    public void add() {
        System.out.println("userService add..............");
        userDao.add();
    }

}